﻿<!DOCTYPE>

<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=EDGE;IE=11;IE=8,chrome=1" />
    <title>试车返回单维护</title>
    <link href="/InSiteWebApplication/Content/Easyui/themes/metro/easyui.css" rel="stylesheet" />
    <link href="/InSiteWebApplication/Content/Easyui/custom-easyui.css" rel="stylesheet" />
    <link href="/InSiteWebApplication/Content/Easyui/themes/icon.css" rel="stylesheet" />
    <style type="text/css">
        .linkbutton{margin-left:20px;width:85px;}
        table tr td{padding:0px 5px}
        .divLabelColor{color:Red;}
        .fontColor{color:Red;}
    </style>
</head>
<body>
      <div class="panelSection">    
        <div class="easyui-panel " title="查询区域" style="padding:3px;width:100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false"> 
           <form id="searchForm" method="post">
	    	<table>
	    		<tr class="divLabel">
	    			<td>试车返回单号:</td>
                    <td>订单号:</td>
                    <td>发动机号:</td>
                    <td>创建日期:</td>
                    <td>试车返回单状态:</td>
	    		</tr>
	    		<tr>
	    			<td><input class="easyui-textbox" type="text" name="ReturnBillNo" style="width: 120px; height: 22px"/></td>
                    <td><input class="easyui-textbox" type="text" name="MfgOrdername" style="width: 120px; height: 22px"/></td>
	    			<td><input class="easyui-textbox" type="text" name="Machine" style="width: 120px; height: 22px"/></td>
	    			<td>
                        <input class="easyui-datebox" name="startedate" style="width: 120px; height: 22px" />至
                        <input class="easyui-datebox" name="enddate" style="width: 120px; height: 22px"/>
                    </td>
	    			<td><input id="Status" name="Status" style="width: 120px; height: 22px"/></td>
                    <td><a href="javascript:void(0)" class="easyui-linkbutton linkbutton" onclick="page.searchData()">查询</a></td>
	    			<td><a href="javascript:void(0)" class="easyui-linkbutton linkbutton" onclick="page.searchReset()">重置</a></td>
	    		</tr>
	    	</table>
	    </form> 
        </div>
      </div>
      <div class="panelSection">    
        <div class="easyui-panel " title="试车返回单信息" style="padding:3px;width:100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false"> 
            <table id="ReturnBillTable" style="height:400px;width:100%"></table>
             <div id="pp" style="float: right" class="easyui-pagination" data-options="   
                 layout:['first','prev','next','last','manual','info'],              
                    total: 0,
                    showPageList: false,
                    showPageInfo: false,
                    showRefresh: false,
                    afterPageText:'共&nbsp{pages}&nbsp页',
                     buttons:[{
                            iconCls:'',
                            text:'Go',
                            id:'pageGo'
                    }]
                ">
                    </div>
        </div>
      </div>
      <div class="panelSection" id="EditorpanelSection">    
        <div class="easyui-panel EditorpanelSection" title="编辑区域" style="padding:3px;width:100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false"> 
            <form id="EditorForm" style="margin-bottom:0">
                  <table class="tabel" cellpadding="5">
	    		    <tr class="divLabel">
	    			    <td class="fontColor">订单号</td>
                        <td >发动机号</td>
                        <td >型号</td>
                        <td class="fontColor">装配完工日期</td>
                        <td class="fontColor">试车类型</td>
                        <td class="fontColor">责任单位</td>
                        <td class="fontColor">试车台</td>
                        <td >燃气涡轮启动机号</td>
                        <td >滑油消耗量（L/h）</td>
	    		    </tr>
	    		    <tr>
	    			    <td><input  type="hidden" name="ZSTESTRUNRETURNBILLID" style="width:150px; height:22px;display:none"  />
                        <input  type="hidden" name="STATUS" style="width:150px; height:22px;display:none"  />
                        <input  type="hidden" name="MFGORDERID" style="width:150px; height:22px;display:none"  id="MFGORDERID" />
                        <input  class="easyui-textbox" type="text" name="MFGORDERNAME" style="width: 180px; height: 22px"  readonly id="MFGORDERNAME"/>
                        <div id="mfgCombox"></div></td>
	    			    <td><input class="easyui-textbox" type="text" name="ATTRIBUTEVALUE" style="width: 150px; height: 22px" id="ATTRIBUTEVALUE" readonly/></td>
                        <td><input class="easyui-textbox" type="text" name="PRODUCTFAMILYNAME" style="width: 150px; height: 22px" id="PRODUCTFAMILYNAME" data-options="editable:false"/></td>
	    			    <td><input class="easyui-datebox" type="text" name="TESTFINISHDATE" style="width: 150px; height: 22px" data-options="editable:false" id="TESTFINISHDATE"/></td>
                        <td><input class="easyui-combobox" type="text" name="TESTRUNTYPE" style="width: 150px; height: 22px" id="TestRunType" data-options="editable:false"/></td>
                        <td>
                        <input class="easyui-textbox" type="text" name="WORKCENTERNAME" style="width: 150px; height: 22px" id="WORKCENTERNAME" data-options="editable:false"/>
                        <input class="easyui-combobox" type="text" name="DUTYWORKCENTERID" style="width: 150px; height: 22px" id="DutyWorkcenterID" data-options="editable:false"/></td>
                        <td>
                        <input class="easyui-textbox" type="text" name="RESOURCENAME" style="width: 150px; height: 22px" id="RESOURCENAME" />
                        <input class="easyui-combobox" type="text" name="TESTBED" style="width: 150px; height: 22px" id="TestBed" /></td>
                        <td><input class="easyui-textbox" type="text" name="TURBINENO" style="width: 150px; height: 22px" id="TURBINENO"/></td>
                        <td><input class="easyui-numberbox" type="text" name="GREASEEXPEND" style="width: 150px; height: 22px" precision="2" id="GREASEEXPEND"/></td>
	    		    </tr>
                     <tr class="divLabel">
	    			    <td >低压停车惯性时间（秒）</td>
                        <td >高压停车惯性时间（秒）</td>
                        <td >启动（次）</td>
                        <td >假启动（次）</td>
                        <td >运转（次）</td>
                        <td >油封（次）</td>
	    		    </tr>
	    		    <tr>
                        <td><input class="easyui-numberbox" type="text" name="DYTCGX" style="width: 180px; height: 22px" id="DYTCGX"/></td>
                        <td><input class="easyui-numberbox" type="text" name="GYTCGX" style="width: 150px; height: 22px" id="GYTCGX"/></td>
                        <td><input class="easyui-numberbox" type="text" name="DYTCQD" style="width: 150px; height: 22px" precision="0" min="0" id="DYTCQD"/></td>
                        <td><input class="easyui-numberbox" type="text" name="DYTCJQD" style="width: 150px; height: 22px" precision="0" min="0" id="DYTCJQD"/></td>
                        <td><input class="easyui-numberbox" type="text" name="GYTCYZ" style="width: 150px; height: 22px" precision="0" min="0" id="GYTCYZ"/></td>
                        <td><input class="easyui-numberbox" type="text" name="GYTCJYF" style="width: 150px; height: 22px" precision="0" min="0" id="GYTCJYF"/></td>
	    		    </tr>
                    <tr class="divLabel">
	    			    <td >总工作时间（min）</td>
                        <td >最大状态工作时间（min）</td>
                        <td >最大状态T5.hs（℃）</td>
                        <td >最大状态Fhs（N）</td>
                        <td >最大状态振动（um/s）</td>
	    		    </tr>
	    		    <tr>
                        <td><input class="easyui-numberbox" type="text" name="TOTALWORKMINUTES" style="width: 180px; height: 22px" id="TOTALWORKMINUTES"/></td>
                        <td><input class="easyui-numberbox" type="text" name="WORKMAXLARGESTATE" style="width: 150px; height: 22px" id="WORKMAXLARGESTATE"/></td>
                        <td><input class="easyui-numberbox" type="text" name="MAXLARGET" style="width: 150px; height: 22px" id="MAXLARGET"/></td>
                        <td><input class="easyui-numberbox" type="text" name="MAXLARGEF" style="width: 150px; height: 22px" id="MAXLARGEF"/></td>
                        <td><input class="easyui-numberbox" type="text" name="MAXLARGEVIBRATE" style="width: 150px; height: 22px" precision="3" id="MAXLARGEVIBRATE"/></td>
	    		    </tr>
                    <tr id="Editor">
                        <td colspan="2" style="padding-top: 5px">
                            <a href="javascript:void(0)" class="easyui-linkbutton linkbutton" onclick="page.SaveReturnBillData()">保存</a>
                            <a href="javascript:void(0)" class="easyui-linkbutton linkbutton" onclick="page.CreateReturnBillData()">清除</a>
                        </td>
                    </tr>
	    	    </table>
              </form>
      </div>
      </div>
      
       <div class="panelSection" style="width:43.5%;float:left">    
            <div class="easyui-panel " title="试车中成附件更换情况" style="padding:3px;width:100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false"> 
                <table id="CFJTable" style="height:200px;width:100%"></table>
                 <form id="CFJForm" style="margin:5px">
                  <table class="tabel" cellpadding="5">
                    <tr class="divLabel divLabelColor TRReturnCFBill">
	    			    <td>附件型别</td>
                        <td>换下批次号</td>
                        <td>换上批次号</td>
                        <td>换下附件已工作时间（min）</td>
                        <td>换下原因</td>
                    </tr>
                     <tr class="TRReturnCFBill">
                      <td><input class="easyui-textbox" type="text" name="DEPENDTYPE" style="width: 120px; height: 22px" /></td>
                      <td><input class="easyui-textbox" type="text" name="PREBATCHNO" style="width: 100px; height: 22px" /></td>
                      <td><input class="easyui-textbox" type="text" name="AFTERBATCHNO" style="width: 100px; height: 22px" /></td>
                      <td><input class="easyui-numberbox" type="text" name="PREWORKMINS" style="width: 150px; height: 22px" /></td>
                      <td><input class="easyui-textbox" type="text" name="CHANGEREASON" style="width: 100px; height: 22px" /></td>
                     </tr>
                      <tr id="TRReturnCFBill" class="TRReturnCFBill">
                        <td colspan="2" style="padding-top: 5px">
                            <a href="javascript:void(0)" class="easyui-linkbutton linkbutton" onclick="page.SaveTRReturnCFBillData()">添加</a>
                            <a href="javascript:void(0)" class="easyui-linkbutton linkbutton" style="margin-left:7px" onclick="page.DeleteTRReturnCFBillData()">删除</a>
                        </td>
                    </tr>
                  </table>
                  </form>
            </div>
       </div>
       <div class="panelSection"style="width:55.5%;float:right">    
            <div class="easyui-panel " title="试车中未排除的故障" style="padding:3px;width:100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false"> 
                <table id="WPCTable" style="height:200px;width:100%"></table>
                <form id="WPCForm" style="margin:5px">
                  <table class="tabel" cellpadding="5">
                    <tr class="divLabel divLabelColor TRReturnUFBill">
	    			   <!-- <td>序号</td>-->
                        <td>故障类型</td>
                        <td>故障现象</td>
                        <td class="EXCLUDEMETHODS">排除方法</td>
                    </tr>
                     <tr class="TRReturnUFBill">
                      <td>
                      <input  type="hidden" name="ZSTRRETURNUFBILLID" style="width: 120px; height: 22px" />
                      <input  type="hidden" name="SERIALNUMBER" style="width: 120px; height: 22px"/>
                      <input class="easyui-textbox" type="text" name="FAULTTYPE" style="width: 150px; height: 22px" id="FAULTTYPE"/></td>
                      <td><input class="easyui-textbox" type="text" name="FAULTPERFORM" style="width: 250px; height: 22px" id="FAULTPERFORM"/></td>
                      <td class="EXCLUDEMETHODS"><input class="easyui-textbox" type="text" name="EXCLUDEMETHODS" style="width: 250px; height: 22px"/></td>
                     </tr>
                      <tr id="TRReturnUFBill" class="TRReturnUFBill">
                        <td colspan="2" style="padding-top: 5px">
                            <a href="javascript:void(0)" class="easyui-linkbutton linkbutton" onclick="page.SaveTRReturnUFBillData()" id="SaveTRReturnUFBillData">添加</a>
                            <a href="javascript:void(0)" class="easyui-linkbutton linkbutton"  style="margin-left:7px" onclick="page.DaleteTRReturnUFBillData()" id="DaleteTRReturnUFBillData">删除</a>
                        </td>
                    </tr>
                  </table>
                  </form>
            </div>
       </div>     
      <div style="clear: both"></div> 
      <div class="panelSection">    
        <div class="easyui-panel " title="按钮区域" style="padding:3px;width:100%" data-options="closable:false,collapsible:true,minimizable:false,maximizable:false"> 
            <div style="margin:15px 0px">
                <span id="SaveCreate" style="display:none">
                    <a href="javascript:void(0)" class="easyui-linkbutton linkbutton" onclick="page.SubmitReturnBillData()" id="SubmitReturnBillData">提交审核</a>
                    <a href="javascript:void(0)" class="easyui-linkbutton linkbutton" onclick="page.DeleteReturnBillData()" id="DeleteReturnBillData">删除返回单</a>
                </span>
                <span id="ConfirmRetrun"  style="display:none">
                    <a href="javascript:void(0)" class="easyui-linkbutton linkbutton" onclick="page.ConfirmReturnBillData()" id="ConfirmReturnBillData">审核</a>
                    <a href="javascript:void(0)" class="easyui-linkbutton linkbutton" onclick="page.RetrunReturnBillData()" id="RetrunReturnBillData">退回</a>
                </span>
                <span id="Recieve"  style="display:none">
                    <a href="javascript:void(0)" class="easyui-linkbutton linkbutton" onclick="page.RecieveReturnBillData()" id="RecieveReturnBillData">接收</a>
                    <a href="javascript:void(0)" class="easyui-linkbutton linkbutton" onclick="page.FinishReturnBillData()" id="FinishReturnBillData">完成</a>
                </span>
                <a href="javascript:void(0)" class="easyui-linkbutton linkbutton" onclick="page.PrintReturnBillData()">打印</a>
            </div>
      </div>
      </div>
      <div id="statusMessage" style="font-size: 14px; height: 40px"></div>
</body>
</html>
<script src="/InSiteWebApplication/Scripts/json2.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/jquery.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/jquery.easyui.min.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Content/Easyui/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/CustomPageJs/CustomCommon.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/ZsJs/ZSTestRunReturnBill.js" type="text/javascript"></script>
<script src="/InSiteWebApplication/Scripts/ZsJs/selectCombox.js" type="text/javascript"></script>
